package com.hjwei.proxySchema;

public class Proxy implements Subject{

    private Subject subject;

    public Proxy(Subject subject) {
        this.subject = subject;
    }

    @Override
    public void operate() {
        System.out.println("lest's go!");
        subject.operate();
        System.out.println("~~finish!");
    }
}
